package cn.javass.dp.chianofresponsibility.example1;

public class Client {
    public static void main(String[] args) {
        Handle h1 = new ConcreteHandle1();
        Handle h2 = new ConcreteHandle2();

        h1.setSuccessor(h2);
        h1.handleRequest();

    }
}
